package com.gamex.findit.model;

public class BaseModel {
	
	private int pageNo = 1;
	private int startPage = 1;
	private int pageGroup = 10;
	private int rnum = 0;
	private int searchType = 0;
	private String searchInput;
	
	public String getSearchInput() {
		return searchInput;
	}
	public void setSearchInput(String searchInput) {
		this.searchInput = searchInput;
	}
	public int getRnum() {
		return rnum;
	}
	public void setRnum(int rnum) {
		this.rnum = rnum;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getStartPage() {
		return startPage= (pageNo -1) * pageGroup;
	}
	public void setStartPage(int startPage) {
		this.startPage = startPage;
	}
	public int getSearchType() {
		return searchType;
	}
	public void setSearchType(int searchType) {
		this.searchType = searchType;
	}
	public int getPageGroup() {
		return pageGroup;
	}
	public void setPageGroup(int pageGroup) {
		this.pageGroup = pageGroup;
	}
	
	@Override
	public String toString() {
		return "BaseModel [pageNo=" + pageNo + ", startPage=" + startPage
				+ ", pageGroup=" + pageGroup + ", rnum=" + rnum
				+ ", searchType=" + searchType + ", searchInput=" + searchInput
				+ "]";
	}
	
	
	
}
